<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="app">
        <!-- 1.data里面变量 -->
        <h1>{{msg}}</h1>
        <!-- 算数表达式 -->
        <h1>{{count++}}</h1>
        <!-- 字符串 -->
        <h1>{{字符串}}</h1>
        <!-- 三目运算符 -->
        <h1>
            {{bool1 ? "☀":"🌙"}}
        </h1>
        <h1>{{bool ? "☀": "🌙"}}</h1>
    </div>
</body>
<script src="https://cn.vuejs.org/js/vue.js"></script>
<script>
    let vm = new Vue({
        el:".app",
        data:{
            msg:"(●￣(ｴ)￣●)",
            count:1,
            bool:true
        }

    });
</script>
</html>